﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace MainService.ZYPT
{
    /// <summary>
    /// 资源类别
    /// </summary>
    [XmlRoot("Catalog")]
    public class ZYLB
    {
        [XmlElement("Catalog")]
        public List<CataLog> Childs = new List<CataLog>();
    }
   
    public class CataLog 
    {
        [XmlAttribute("Name")]
        public string Name { get; set; }
        [XmlAttribute("ID")]
        public string ID { get; set; }
        [XmlAttribute("Description")]
        public string Description { get; set; }
        [XmlAttribute("Icon")]
        public string Icon { get; set; }
        [XmlElement("Catalog")]
        public List<CataLog> Childs = new List<CataLog>();
    }
}
